<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <title>{{=response.title or URL()}}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="P3P" content="CP=\"IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA\"" />
    <!-- Stylesheets -->
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/resources/dojo.css" />
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css" />
    <link rel="stylesheet" href="{{=URL('static', 'css/admin2.css')}}" />
    <!-- Scripts -->
    <script>
      // Dojo configuration
      var djConfig = {
        isDebug: true // Set to false after beta
      };
    </script>
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js">
    </script>
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/dijit.js">
    </script>
    <script src="{{=URL('static', 'js/admin2.js')}}">
    </script>
    <script src="{{=URL('static', 'js/admin2ui.js')}}">
    </script>
  </head>
  <body class="claro">
    <!-- All HTML is built by the UI layer -->
  </body>
</html>

<!--<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="P3P" content="CP=\"IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA\"" />
    <title>{{=response.title or URL()}}</title>
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/resources/dojo.css" />
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css" />
    <link rel="stylesheet" href="{{=URL('static', 'css/admin2.css')}}" />
  </head>
  <body class="calro {{=T('direction: ltr') == 'direction: rtl' and 'RTLbody' or ''}}{{block sectionclass}}home{{end}}">
    <div id="bc" class="container">
      <div id="middle">
        <h1 id="start">
          <a href="{{=URL('default', 'index')}}" class="button"><span>web2py&trade; {{=T('administrative interface')}}</span></a>
        </h1>
        {{if response.menu is not None:}}
        <ul class="menu">
          {{for _name,_active,_link in response.menu:}}
          <li class="menuitem">{{=A(SPAN(_name), _href=_link, _class=_active and 'button select' or 'button')}}</li>
          {{pass}}
        </ul>
        {{pass}}
      </div>
      <div id="main">
        <div id="main_inner">
          <div class="flash">{{=response.flash or ''}}</div>
          {{include}}
        </div>
      </div>
      <div id="bottom" class="fixed">
        {{=T('Powered by')}} {{=A('web2py', _href='http://www.web2py.com')}}&trade; {{=T('created by')}} Massimo Di Pierro &copy;2007-2010 -
        {{if hasattr(T,'get_possible_languages'):}}
        <span>
          {{=T('Admin language')}}
          <!-- TODO: Remove the inline JavaScript here -->
          <select name="adminlanguage" onchange="var date = new Date();cookieDate=date.setTime(date.getTime()+(100*24*60*60*1000));document.cookie='adminLanguage='+this.options[this.selectedIndex].value+'; expires='+cookieDate+'; path=/';window.location.reload()">
            {{for language in T.get_possible_languages():}}
            <option {{=T.accepted_language==language and 'selected' or ''}} >{{=language}}</option>
            {{pass}}
          </select>
        </span>
        {{pass}}
      </div>
      <!-- end main content -->
    </div>
    <script>
      var djConfig = {
        isDebug: true,
        parseOnLoad: false
      };
    </script>
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js">
    </script>
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/dijit.js">
    </script>
    <script src="{{=URL('static', 'js/admin2.ui.js')}}">
    </script>
    <script src="{{=URL('static', 'js/admin2.js')}}">
    </script>
  </body>
</html>-->
